package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwEsi;
import com.tjmc.tiomscore.model.TranPtnHwEsiExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwEsiMapper extends TranPtnHwSuperMapper<TranPtnHwEsi> {
    long countByExample(TranPtnHwEsiExample example);

    int deleteByExample(TranPtnHwEsiExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwEsi record);

    int insertSelective(TranPtnHwEsi record);

    List<TranPtnHwEsi> selectByExample(TranPtnHwEsiExample example);

    TranPtnHwEsi selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwEsi record, @Param("example") TranPtnHwEsiExample example);

    int updateByExample(@Param("record") TranPtnHwEsi record, @Param("example") TranPtnHwEsiExample example);

    int updateByPrimaryKeySelective(TranPtnHwEsi record);

    int updateByPrimaryKey(TranPtnHwEsi record);
}